package com.learn.yu.proxy.dynamic.jdk;

/**
 * @author : Yu.Tan
 * @date : 2023/6/21 16:35
 * @desc : **
 */
public class RealSubject implements Subject{
    @Override
    public void request() {
        System.out.println("这是JDK动态代理");
    }

    @Override
    public String todo() {
        System.out.println("Hello World!");
        return "Hello World!";
    }
}
